﻿using System;

namespace Mono.Cecil.Cil
{
	// Token: 0x02000136 RID: 310
	public sealed class ImageDebugHeader
	{
		// Token: 0x170002FC RID: 764
		// (get) Token: 0x06000BAE RID: 2990 RVA: 0x00034BBC File Offset: 0x00032DBC
		public bool HasEntries
		{
			get
			{
				return !this.entries.IsNullOrEmpty<ImageDebugHeaderEntry>();
			}
		}

		// Token: 0x170002FD RID: 765
		// (get) Token: 0x06000BAF RID: 2991 RVA: 0x00034BDC File Offset: 0x00032DDC
		public ImageDebugHeaderEntry[] Entries
		{
			get
			{
				return this.entries;
			}
		}

		// Token: 0x06000BB0 RID: 2992 RVA: 0x00006252 File Offset: 0x00004452
		public ImageDebugHeader(ImageDebugHeaderEntry[] entries)
		{
			this.entries = (entries ?? Empty<ImageDebugHeaderEntry>.Array);
		}

		// Token: 0x06000BB1 RID: 2993 RVA: 0x0000626C File Offset: 0x0000446C
		public ImageDebugHeader() : this(Empty<ImageDebugHeaderEntry>.Array)
		{
		}

		// Token: 0x06000BB2 RID: 2994 RVA: 0x0000627B File Offset: 0x0000447B
		public ImageDebugHeader(ImageDebugHeaderEntry entry) : this(new ImageDebugHeaderEntry[]
		{
			entry
		})
		{
		}

		// Token: 0x04000738 RID: 1848
		private readonly ImageDebugHeaderEntry[] entries;
	}
}
